Q3Shader_SetUVTransform
You can use theQ3Shader_SetUVTransform
function to set the transform in uv parametric space.
TQ3Status Q3Shader_SetUVTransform ( TQ3ShaderObject shader, const TQ3Matrix3x3 *uvTransform);
shader
- A shader.
uvTransform
- A pointer to the desired transform in uv parametric space.
DESCRIPTION
TheQ3Shader_SetUVTransform
function sets the transform in uv parametric space for the shader specified by theshader
parameter to the transform specified by theuvTransform
parameter. For example, a texture shader that relies on uv values to index a texture mapping can rotate, scale, or translate the texture by setting appropriate values in the uv transform.